package lab02.test10;

public class Test10 {
    public static void main(String[] args) {
        ChinaPeople ch = new ChinaPeople();
        ch.name = "张三";
        ch.sex = "男";
        ch.age = 19;
        ch.print();
        System.out.println("\n");

        AmJericanPeople am = new AmJericanPeople();
        am.name = "lily";
        am.sex = "女";
        am.age = 18;
        am.print();
        System.out.println("\n");

        BeiJingPeople be = new BeiJingPeople();
        be.name = "王春燕";
        be.sex = "女";
        be.age = 19;
        be.print();
        System.out.println("\n");
    }
}
